Use of membrane and bonechips to manage defects